<?php
require_once "lib/init.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <title>Time Tracking</title>
  
  <link rel="stylesheet" href="css/redmond/jquery-ui-1.8.22.custom.css">
  <link rel="stylesheet" href="css/styles.css">
  
  <script src="js/jquery.min.js"></script>
  <script src="js/jquery-ui.custom.min.js"></script>
  
  <script src="js/jquery.form.js"></script>
  
  <script src="js/Flipify.js" type="text/javascript" charset="utf-8"></script>
  <script src="js/date_format.js" type="text/javascript" charset="utf-8"></script>
  <script src="js/functions.js" type="text/javascript" charset="utf-8"></script>

  <script type="text/javascript" src="js/jquery.blockUI.js"></script>
  <script type="text/javascript" src="js/chili-1.7.pack.js"></script>

  </head>
  <body>

  <div id="wrapper">
    <div id="header">
      <h1>Time Tracking</h1>
    </div>
    
    <div id="content">
        <div id="output"></div>
        <div id="content_main">
            <?php 
            
            if($_SESSION['user_id']){
                require_once "_track.php";
            }else{
                require_once "_login.php";
            } 
            
            ?>  
        </div>
    </div>
    
    <div id="footer">Developer by <a href="http://www.ohstudio.com.ar">Oh!Studio</a></div>
    
  </div>
  </body>
</html>
